//
//  Step4Select.m
//  Gunz
//
//  Created by Joggy on 16/4/16.
//  Copyright © 2016年 NUPT. All rights reserved.
//

#import "Step4Select.h"
#import "GZConst.h"

@implementation Step4Select

-(instancetype)initWithTitle:(NSString *)title {
    self = [super initWithFrame:CGRectMake(0, 0, 53, 17)];
    _pointButton = [[PointButton alloc] init];
    _pointButton.layer.position = CGPointMake(8, self.frame.size.height/2);
    [self addSubview:_pointButton];
    _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 38, 17)];
    _titleLabel.layer.position = CGPointMake(36, self.frame.size.height/2);
    _titleLabel.textColor = TEXT_TITLE_COLOR;
    _titleLabel.font = [UIFont systemFontOfSize:17];
    _titleLabel.text = title;
    [self addSubview:_titleLabel];
    return self;
}

@end
